<%@page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@include file="/common/definition.jsp"%>
<%@ page language="java" import="java.util.*"%>

<html:html>
<tiles:insert beanName="default-product" flush="true">
	<tiles:put name="title"> Đăng Nhập </tiles:put>
	<tiles:put name="body" type="string">
	
		<div class="container" style="padding-top: 40px;">
			<div class="row">
				<div class="col-md-3"></div>
				<div class="col-md-6 mainHome">
					<div class="col-md-12 text-center">
						<h1>Đăng Nhập</h1>
						<s:if test="errorLogin == null || errorLogin == ''">
						</s:if>
						<s:elseif test="errorLogin != null">
							<div class="error_box" style="display: block;"><s:property value="errorLogin" /></div>
						</s:elseif>
					<s:form action="login" cssClass="form-horizontal" role="form"
						style="padding-right: 20px;" theme="simple">
						<div class="form-group">
							<label class="col-sm-2 control-label">Tài khoản</label>
							<div class="col-sm-10">
								<input type="text" name="id" placeholder="Tài khoản"
									class="form-control">
								<%-- <s:textfield cssClass="form-control" placeholder="Tài khoản"
									name="id"></s:textfield> --%>
							</div>
						</div>
						<div class="form-group">
							<label for="inputPassword3" class="col-sm-2 control-label">Mật
								khẩu</label>
							<div class="col-sm-10">
								<s:password cssClass="form-control" placeholder="Mật khẩu"
									name="password"></s:password>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-12 text-center">
								<button type="submit" class="btn btn-default"
									onclick="this.login.reset();">Đăng Nhập</button>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-12 text-center">
								<s:a action="forgetPwd-page">Quên mật khẩu</s:a>
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-12 text-center">
								<s:a action="register-page">Đăng ký</s:a>
							</div>
						</div>
					</s:form>
				</div>
				<div class="col-md-3"></div>
			</div>
		</div>
		</div>
	</tiles:put>
</tiles:insert>
</html:html>
